package com.ymttest.database.sharding.db.sharding.model;

import java.math.BigDecimal;
import java.util.Date;

public class ShenqiSellerProfitPo {
    /**
     * id BIGINT(19) 必填<br>
     * 主键id，自增长
     */
    private Long id;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单id
     */
    private Long orderId;

    /**
     * seller_id BIGINT(19) 必填<br>
     * 买手id
     */
    private Long sellerId;

    /**
     * profit DECIMAL(20,2) 必填<br>
     * 利润
     */
    private BigDecimal profit;

    /**
     * seller_role INTEGER(10) 必填<br>
     * 1:店主;2:货头;3:中间商;4:客服
     */
    private Integer sellerRole;

    /**
     * child_seller_id BIGINT(19)<br>
     * 下级代理id
     */
    private Long childSellerId;

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 添加时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 必填<br>
     * 修改时间
     */
    private Date updateTime;
    
    /**
     * 下级分销佣金
     */
    private BigDecimal subDistributionProfit;
    
    /**
     *  '卖家备注'
     */
    private String sellerMemo;

    /**
     * id BIGINT(19) 必填<br>
     * 获得 主键id，自增长
     */
    public Long getId() {
        return id;
    }

    /**
     * id BIGINT(19) 必填<br>
     * 设置 主键id，自增长
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单id
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单id
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 获得 买手id
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 设置 买手id
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * profit DECIMAL(20,2) 必填<br>
     * 获得 利润
     */
    public BigDecimal getProfit() {
        return profit;
    }

    /**
     * profit DECIMAL(20,2) 必填<br>
     * 设置 利润
     */
    public void setProfit(BigDecimal profit) {
        this.profit = profit;
    }

    /**
     * seller_role INTEGER(10) 必填<br>
     * 获得 1:店主;2:货头;3:中间商;4:客服
     */
    public Integer getSellerRole() {
        return sellerRole;
    }

    /**
     * seller_role INTEGER(10) 必填<br>
     * 设置 1:店主;2:货头;3:中间商;4:客服
     */
    public void setSellerRole(Integer sellerRole) {
        this.sellerRole = sellerRole;
    }

    /**
     * child_seller_id BIGINT(19)<br>
     * 获得 下级代理id
     */
    public Long getChildSellerId() {
        return childSellerId;
    }

    /**
     * child_seller_id BIGINT(19)<br>
     * 设置 下级代理id
     */
    public void setChildSellerId(Long childSellerId) {
        this.childSellerId = childSellerId;
    }

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 获得 添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 设置 添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 必填<br>
     * 获得 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 必填<br>
     * 设置 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	public BigDecimal getSubDistributionProfit() {
		return subDistributionProfit;
	}

	public void setSubDistributionProfit(BigDecimal subDistributionProfit) {
		this.subDistributionProfit = subDistributionProfit;
	}

	public String getSellerMemo() {
		return sellerMemo;
	}

	public void setSellerMemo(String sellerMemo) {
		this.sellerMemo = sellerMemo;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderId=").append(orderId);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", profit=").append(profit);
        sb.append(", sellerRole=").append(sellerRole);
        sb.append(", childSellerId=").append(childSellerId);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", subDistributionProfit=").append(this.subDistributionProfit);
        sb.append(", sellerMemo=").append(this.sellerMemo);
        sb.append("]");
        return sb.toString();
    }
}